<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" errorPage="/error.jsp" isELIgnored="false" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.opensymphony.com/oscache" prefix="cache" %>
<%@ taglib uri="http://atleap.blandware.com/taglib" prefix="atleap" %>
<html:xhtml />


<atleap:content identifier="information" ignore="true"/>
<atleap:readFeed url="https://atleap.dev.java.net/servlets/ProjectRSS?type=news" var="feed" limit="5"/>
<table cellpadding="0" cellspacing="0" border="0" class="tableView">
    <atleap:iterator var="entry" items="${feed.entries}">
        <tr>
            <th align="left">
                <c:if test="${!empty entry.publishedDate}"><atleap:formatDate value="${entry.publishedDate}" />&nbsp;&nbsp;</c:if><c:out value="${entry.title}" escapeXml="true"/>
            </th>
        </tr>
        <tr>
            <td>
                <div>
                    ${entry.description.value}
                </div>
                <div class="newsItemDetailsLink">
                    <atleap:message key="news.buttons.moreInfo" var="moreInfoMsg"/>
                    <a href="${entry.link}" title="${moreInfoMsg}">
                        ${moreInfoMsg}
                    </a>
                </div>
            </td>
        </tr>
    </atleap:iterator>
</table>